import { Toast } from "antd-mobile";
import request from "@/api/request";

/**
 * 是否需要认证
 * @param {参数} params
 * @returns {Promise} 返回数据
 */
export const needAuthentication = async (data = {}) => {
  const ret = await request({
    url: "/member/needAuthentication",
    method: "post",
    data,
  });
  return ret;
};